package com.worldwizards.smut.serialization;

public abstract class ParseObject {
	private int _handle;
	
	public ParseObject(int handle){
		_handle  = handle;
	}
	
	public void setHandle(int h){
		_handle = h;
	}
	public int getHandle(){
		return _handle;
	}

	public void dump(String prefix) {
		System.out.print(prefix+"Object: "+_handle+"  ");
		dumpDetails(prefix);
	}

	protected abstract void dumpDetails(String prefix); 
}
